﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace FormMdiTest
{
    public partial class Form1 : Form
    {
        public Form1()
        {

            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            for (int i = 0; i < 4; i++)
            {
                //Form2 from2 = new Form2();
                //from2.MdiParent = this;
                ////from2.Parent = this.ultraPanel4;
                //from2.TopLevel = false;
                //this.ultraPanel4.ClientArea.Controls.Add(from2);
                //from2.Dock = System.Windows.Forms.DockStyle.Fill;
                //from2.Show();
            }
            
        }

        private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
        {

        }

        private void ultraGrid1_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
        {
            //e.Row.Cells.FromKey("REPLY_COUNT").Style.ForeColor = Color.Blue;
            //e.Row.Cells[1].
        }

        private void ultraButton1_Click(object sender, EventArgs e)
        {
            OpaqueLayer.ShowOpaqueLayer(this,125,false);
        }
    }
}
